package com.hcc.repository.test.dao.mapper;

import com.hcc.repository.core.annotation.Param;
import com.hcc.repository.core.annotation.Query;
import com.hcc.repository.core.mapper.IMapper;
import com.hcc.repository.test.domain.po.ProductPo;

/**
 * IProductMapper
 *
 * @author hushengjun
 * @date 2023/9/8
 */
public interface IProductMapper extends IMapper {

    @Query("select * from product where id = ${id}")
    ProductPo query(@Param("id") Long id);

}
